package cn.tedu.cwfw.order.service;

import cn.tedu.cwfw.order.pojo.dto.OrderDTO;
import cn.tedu.cwfw.order.pojo.entity.Order;
import cn.tedu.cwfw.order.pojo.vo.OrderVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService {

    void addOrder(OrderVO orderVO);

    List<OrderVO> findOrder(OrderDTO orderDTO);

    OrderVO findOrderById(Long id);

    void deleteOrder(Long id);


}
